package com.swm.julie.rest.sausage.resource;

import com.swm.julie.rest.sausage.model.Product;


public interface SausageResourceUpdate {

	//create new information of a product to index directory if conflicted return the result object of the product
	public Product ceateSausage(Product newSausage);
	
	// delete information of the product with the id, unique and circular identifier of the product in index directory, 
	// if completed return the object of the product  
	public Product deleteSausage(String id);

	// If update occurs in crawled data, for example change of the policy of the product,
	// update the data of the product in index directory. If completed then return the object of the updated information
	public Product updateSausage(Product updatedSausage);
}
